<template>
  <div id='wrap'>
    <h1>动态路由子组件</h1>
  </div>
</template>

<script lang='ts'>
export default {
  name: 'routerson',
}
</script>

<script lang='ts' setup>
import { ref } from 'vue';
import { useRoute } from 'vue-router';
const route = useRoute();

</script>

<style lang='scss' scoped></style>
